<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="stylesheet"
	href="<c:url value="/resources/lib/bootstrap-3.3.5/css/bootstrap.min.css"/>" />
	<link href="/resources/lib/font-awesome-4.4.0/css/font-awesome.min.css"	rel="stylesheet" type="text/css" />
<link href="/resources/css/common.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet"
	href="<c:url value="/resources/css/account/login.css"/>" />

<script
	src="<c:url value="/resources/lib/angular-1.4.7/angular.min.js"/>"
	type="text/javascript">
	
</script>
<script src="<c:url value="/resources/js/account/login.js" />"
	type="text/javascript"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
</head>
<body ng-app="conversionTool">

	<header>

			<div class="col-md-1 header-logo pull-left">
				<img src="/resources/img/bulogo.gif">
			</div>
			<div class="col-xs-7 header-title">
				<p>Conversion Accelerators</p>
			</div>
		<div class="col-md-2 header-tool pull-right">
			<img src="/resources/img/topimg.gif">
		</div>


	</header>


	<section class="container " ng-controller="loginCtrl">
		<div class="form-login">

			<div class="col-md-12 logintext">
				<span>Login</span>
			</div>

				<div class="col-xs-5 register">
					<div class="text-center">
						<h3>New User?</h2>
					</div>
					<div class="text-center">
					
					<a class="btn  btn-lg btn-primary" href="register">Register</a>
						
					</div>
                          </div>
				<div class="col-xs-7 login">
					<form role="form" class="loginForm">
						<div class="formrow">
							<div class="form-group ">
								<input type="email" class="form-control" id="email"
									ng-model="email" placeholder="please enter your email">
								<span class="input-group-addon"> <i
									class="glyphicon glyphicon-user"> </i>
								</span>
							</div>

							<div class="form-group">
								<input type="password" class="form-control" id="password"
									ng-model="password" placeholder="please enter your password" />
								<span class="input-group-addon"> <i
									class="glyphicon glyphicon-record"> </i>
								</span>
							</div>
							 <div class="loginbutton">
								<input type="button" class="btn btn-lg btn-primary btnlogin"
									value="Login" ng-click="login()" />
							</div> 
							
													
							</div>
					</form>
					<!--  <div class="control-group error"> <div class="controls"><span class="help-inline">{{msg}}</span></div> </div> -->
				      </div>
				</div>

          <div class="control-group  error" ng-show="msg.length>1">
           <div class="alert alert-danger alert-dismissable">{{msg}}</div> </div>
	</section>


</body>
</html>

